package com.weipai.springboot.module.dao.impl;

import com.weipai.springboot.model.PayMode;
import com.weipai.springboot.module.dao.PayDao;
import com.weipai.springboot.module.mapper.PayModeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author songmengqiang
 * @create 2018-08-28 14:15
 **/
@Repository
public class PayDaoImpl implements PayDao {

    @Autowired
    private PayModeMapper payModeMapper;

    @Override
    public List<PayMode> getPayModeList() {
        return payModeMapper.getPayModeList();
    }
}
